/** 路由配置 */
const setRouter = [{
  path: '/viewFile', // 文件预览
  name: 'viewFile',
  component: () =>
            import ('@/components/importFile/viewFile'),
  meta: {
    title: '文件预览'
  },
  hidden: true
},
{
  path: '/demo', // 路由地址
  name: 'demo', // 路由名称
  component: () =>
            import ('@/views/demo'), // vue文件路径地址
  meta: {
    title: '初始化Demo'
  },
  hidden: true
},
{
  path: '/storeAddEva', // 路由地址
  name: 'StoreAddEva', // 路由名称
  component: () =>
            import ('@/views/storeAddEva'), // vue文件路径地址
  meta: {
    keepAlive: true,
    showCrumbs: true,
    title: '门店选址评估'
  },
  hidden: true
},
{
  path: '/storeAddEva/editForm', // 路由地址
  name: 'EditStoreAdd', // 路由名称
  component: () =>
            import ('@/views/storeAddEva/editForm'), // vue文件路径地址
  meta: {
    title: '选址编辑'
  },
  hidden: true
},

{
  path: '/storeAddEva/detail', // 路由地址
  name: 'DetailStoreAdd', // 路由名称
  component: () =>
            import ('@/views/storeAddEva/detail'), // vue文件路径地址
  meta: {
    title: '详情'
  },
  hidden: true
},
{
  path: '/storeAddEva/fileMaintain', // 路由地址
  name: 'FileMaintain', // 路由名称
  component: () =>
            import ('@/views/storeAddEva/fileMaintain'), // vue文件路径地址
  meta: {
    title: '档案维护'
  },
  hidden: true
},

{
  path: '/storeUpgrade', // 路由地址
  name: 'storeUpgrade', // 路由名称
  component: () =>
            import ('@/views/storeUpgrade'), // vue文件路径地址
  meta: {
    title: '门店升级改造'
  },
  hidden: true
},
{
  path: '/storeMapping', // 路由地址
  name: 'StoreMapping', // 路由名称
  component: () =>
            import ('@/views/storeMapping'), // vue文件路径地址
  meta: {
    keepAlive: true,
    showCrumbs: true,
    title: '门店测绘管理'
  },
  hidden: true
},

{
  path: '/storeMapping/components/mapApply', // 路由地址
  name: 'MapApply', // 路由名称
  component: () =>
            import ('@/views/storeMapping/components/mapApply'), // vue文件路径地址
  meta: {
    title: '测绘申请'
  },
  hidden: true
},
{
  path: '/storeMapping/components/detail', // 路由地址
  name: 'MapDetail', // 路由名称
  component: () =>
            import ('@/views/storeMapping/components/detail'), // vue文件路径地址
  meta: {
    title: '详情'
  },
  hidden: true
},

{
  path: '/storeMapping/components/mapArrange', // 路由地址
  name: 'MapArrange', // 路由名称
  component: () =>
            import ('@/views/storeMapping/components/mapArrange'), // vue文件路径地址
  meta: {
    title: '测绘安排'
  },
  hidden: true
},
{
  path: '/storeMapping/components/reMapArrange', // 路由地址
  name: 'ReMapArrange', // 路由名称
  component: () =>
            import ('@/views/storeMapping/components/reMapArrange'), // vue文件路径地址
  meta: {
    title: '复尺安排'
  },
  hidden: true
},
{
  path: '/storeMapping/components/reMapExe', // 路由地址
  name: 'ReMapExe', // 路由名称
  component: () =>
            import ('@/views/storeMapping/components/reMapExe'), // vue文件路径地址
  meta: {
    title: '复尺执行'
  },
  hidden: true
},
{
  path: '/storeMapping/components/mapExe', // 路由地址
  name: 'MapExe', // 路由名称
  component: () =>
            import ('@/views/storeMapping/components/mapExe'), // vue文件路径地址
  meta: {
    title: '测绘执行'
  },
  hidden: true
},
{
  path: '/storeMapping/components/mapResultAudit', // 路由地址
  name: 'MapAudit', // 路由名称
  component: () =>
            import ('@/views/storeMapping/components/mapResultAudit'), // vue文件路径地址
  meta: {
    title: '测绘资料审核'
  },
  hidden: true
},
{
  path: '/storeMapping/components/reMapAudit', // 路由地址
  name: 'ReMapAudit', // 路由名称
  component: () =>
            import ('@/views/storeMapping/components/reMapAudit'), // vue文件路径地址
  meta: {
    title: '复尺资料审核'
  },
  hidden: true
},
{
  path: '/openManage', // 路由地址
  name: 'OpenManage', // 路由名称
  component: () =>
            import ('@/views/openManage'), // vue文件路径地址
  meta: {
    keepAlive: true,
    showCrumbs: true,
    title: '开业管理'
  },
  hidden: true
},
{
  path: '/openManage/detail', // 路由地址
  name: 'OpenDetail', // 路由名称
  component: () =>
            import ('@/views/openManage/detail'), // vue文件路径地址
  meta: {
    showCrumbs: true,
    title: '详情'
  },
  hidden: true
},

{
  path: '/openManage/apply', // 路由地址
  name: 'OpenApply', // 路由名称
  component: () =>
            import ('@/views/openManage/apply'), // vue文件路径地址
  meta: {
    showCrumbs: true,
    title: '开业申请'
  },
  hidden: true
},
{
  path: '/openManage/add', // 路由地址
  name: 'OpeningAdd', // 路由名称
  component: () =>
            import ('@/views/openManage/add'), // vue文件路径地址
  meta: {
    showCrumbs: true,
    title: '新增'
  },
  hidden: true
},

{
  path: '/storeRebate', // 路由地址
  name: 'StoreRebate', // 路由名称
  component: () =>
            import ('@/views/storeRebate'), // vue文件路径地址
  meta: {
    keepAlive: true,
    showCrumbs: true,
    title: '门店返利'
  },
  hidden: true
},
{
  path: '/storeRebate/detail', // 路由地址
  name: 'RebateDetail', // 路由名称
  component: () =>
            import ('@/views/storeRebate/detail'), // vue文件路径地址
  meta: {
    title: '门店返利详情'
  },
  hidden: true
},
{
  path: '/storeRebate/rebateExe', // 路由地址
  name: 'RebateExecute', // 路由名称
  component: () =>
          import ('@/views/storeRebate/rebateExe'), // vue文件路径地址
  meta: {
    title: '门店返利执行'
  },
  hidden: true
},
{
  path: '/storeRebate/editForm', // 路由地址
  name: 'RebateEdit', // 路由名称
  component: () =>
          import ('@/views/storeRebate/editForm'), // vue文件路径地址
  meta: {
    title: '门店返利编辑'
  },
  hidden: true
},
{
  path: '/storeRebate/component/change', // 路由地址
  name: 'RebateChange', // 路由名称
  component: () =>
          import ('@/views/storeRebate/component/change'), // vue文件路径地址
  meta: {
    title: '返利政策变更新增'
  },
  hidden: true
},

{
  path: '/storeRebate/rebateRuleChange', // 路由地址
  name: 'RebateRuleChange', // 路由名称
  component: () =>
            import ('@/views/storeRebate/rebateRuleChange'), // vue文件路径地址
  meta: {
    keepAlive: true,
    title: '返利政策变更'
  },
  hidden: true
},
{
  path: '/storeRebate/rebateRuleChange/detail', // 路由地址
  name: 'RebateChangeDetail', // 路由名称
  component: () =>
            import ('@/views/storeRebate/rebateRuleChange/detail'), // vue文件路径地址
  meta: {
    keepAlive: true,
    showCrumbs: true,
    title: '详情'
  },
  hidden: true
},
{
  path: '/storeRebate/rebateRuleChange/audit', // 路由地址
  name: 'RebateChangeAudit', // 路由名称
  component: () =>
            import ('@/views/storeRebate/rebateRuleChange/audit'), // vue文件路径地址
  meta: {
    keepAlive: true,
    showCrumbs: true,
    title: '审核'
  },
  hidden: true
},
{
  path: '/storeRebate/rebateRuleChange/change', // 路由地址
  name: 'RuleChange', // 路由名称
  component: () =>
            import ('@/views/storeRebate/rebateRuleChange/change'), // vue文件路径地址
  meta: {
    // keepAlive: true,
    showCrumbs: true,
    title: '编辑'
  },
  hidden: true
},
{
  path: '/ShopDesign', // 路由地址
  name: 'ShopDesign', // 路由名称
  component: () =>
            import ('@/views/ShopDesign'), // vue文件路径地址
  meta: {
    keepAlive: true,
    showCrumbs: true,
    title: '门店设计管理'
  },
  hidden: true
},
{
  path: '/CustomizedExport', // 路由地址
  name: 'CustomizedIndex', // 路由名称
  component: () =>
            import ('@/views/ShopDesign/customizedIndex'), // vue文件路径地址
  meta: {
    keepAlive: true,
    title: '门店设计管理-定制报图'
  },
  hidden: true
},

{
  path: '/ShopDesign/NewDesignApplicationsBasics', // 路由地址
  name: 'DesignEdit', // 路由名称
  component: () =>
            import ('@/views/ShopDesign/NewDesignApplicationsBasics'), // vue文件路径地址
  meta: {
    title: '门店设计填报'
  },
  hidden: true
},
{
  path: '/ShopDesign/DesignInformationDetails', // 路由地址
  name: 'DesignDetail', // 路由名称
  component: () =>
            import ('@/views/ShopDesign/DesignInformationDetails'), // vue文件路径地址
  meta: {
    title: '门店设计详情'
  },
  hidden: true
},
{
  path: '/ShopDesignChange', // 路由地址
  name: 'DesignChange', // 路由名称
  component: () =>
            import ('@/views/ShopDesignChange'), // vue文件路径地址
  meta: {
    keepAlive: true,
    showCrumbs: true,
    title: '门店变更申请'
  },
  hidden: true
},
{
  path: '/ShopDesignChange/edit', // 路由地址
  name: 'FromDesignChange', // 路由名称
  component: () =>
            import ('@/views/ShopDesignChange/edit'), // vue文件路径地址
  meta: {
    isVerify: true,
    // showCrumbs: true,
    title: '门店设计变更'
  },
  hidden: true
},
{
  path: '/ShopDesignChange/detail', // 路由地址
  name: 'ShopDesignChangeDetail', // 路由名称
  component: () =>
            import ('@/views/ShopDesignChange/detail'), // vue文件路径地址
  meta: {
    title: '门店设计变更详情'
  },
  hidden: true
},
{
  path: '/channelTask', // 路由地址
  name: 'ChannelTask', // 路由名称
  component: () => import ('@/views/channelTask'), // vue文件路径地址
  meta: {
    title: '渠道任务跟进'
  },
  hidden: true
},
{
  path: '/channelReport', // 路由地址
  name: 'ChannelReport', // 路由名称
  component: () => import ('@/views/channelReport'), // vue文件路径地址
  meta: {
    title: '渠道任务报表'
  },
  hidden: true
},
{
  path: '/acceptTask', // 路由地址
  name: 'AcceptTask', // 路由名称
  component: () => import ('@/views/acceptTask'), // vue文件路径地址
  meta: {
    title: '验收任务管理'
  },
  hidden: true
},
{
  path: '/acceptTask/components/detail', // 路由地址
  name: 'AcceptTaskDetail', // 路由名称
  component: () =>
            import ('@/views/acceptTask/components/Detail'), // vue文件路径地址
  meta: {
    showCrumbs: true,
    title: '详情'
  },
  hidden: true
}

]
export default setRouter
